﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TaxEntity.SysConfig
{
    // <summary>
    /// 税种实体类
    /// </summary>
    [Serializable]
    public class TaxsEntity
    {
        private int iD;
        private string code;
        private string name;
        private decimal? rate;
        private string taxType = "出租";
        private int? isShow = 1;
        private long? optUserID;
        private int? status = 1;
        /// <summary>
        /// 税种编码
        /// </summary>
        public int ID
        {
            set { iD = value; }
            get { return iD; }
        }
        /// <summary>
        /// 代码
        /// </summary>
        public string Code
        {
            set { code = value; }
            get { return code; }
        }
        /// <summary>
        /// 税种名称
        /// </summary>
        public string Name
        {
            set { name = value; }
            get { return name; }
        }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal? Rate
        {
            set { rate = value; }
            get { return rate; }
        }
        /// <summary>
        /// 税种类型（出租，自用）
        /// </summary>
        public string TaxType
        {
            set { taxType = value; }
            get { return taxType; }
        }
        /// <summary>
        /// 是否纳入计算（0不计算应税，1计算）
        /// </summary>
        public int? IsShow
        {
            set { isShow = value; }
            get { return isShow; }
        }
        /// <summary>
        /// 操作人员
        /// </summary>
        public long? OptUserID
        {
            set { optUserID = value; }
            get { return optUserID; }
        }
        /// <summary>
        /// 数据状态（1正常 0删除）
        /// </summary>
        public int? Status
        {
            set { status = value; }
            get { return status; }
        }
    }
}
